angular.module('Common')

.service('ParameterService', ['BaseFunction',  
    function(BaseFunction){
        return {
			//获取系统参数设置
            getParameterValue: function(parameterCode, successHandle, errHandle){
                var parameter = {
                    Code: parameterCode
                };

                BaseFunction.request('/api/Common/getParameterValue', false, parameter, successHandle, errHandle);
            }
        }
    }
]);